const fs = require('fs')

// 创建读取流
// var readStream = fs.createReadStream('./css/www.css');
var readStream = fs.createReadStream('./1.读取文件.js');

// 创建写入流
var writeStream = fs.createWriteStream('./html/1.读取文件.js')

// 把读取到的文件复制到写入流的路径当中去
readStream.pipe(writeStream)